package com.xindacloud.sms.console.system.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "列表分页DTO")
public class PageDTO implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 5599682693356906408L;
    @ApiModelProperty(value = "页码，默认从0开始")
    private Integer pageNum = 0;
    @ApiModelProperty(value = "每页显示多少条数据，默认是10条")
    private Integer pageSize = 10;

}
